package com.local.user.pojo;

public class UserListRequestParam {
    private Integer page;
    private Integer limit;
    private String sort;
    private String order;
    private String userName;
    private Integer lockedFlag;
    private Integer isDeleted;

    public UserListRequestParam(){}

    public UserListRequestParam(Integer page, Integer limit, String sort, String order, String userName, Integer lockedFlag, Integer isDeleted) {
        this.page = page;
        this.limit = limit;
        this.sort = sort;
        this.order = order;
        this.userName = userName;
        this.lockedFlag = lockedFlag;
        this.isDeleted = isDeleted;
    }

    public Integer getPage() {
        return page;
    }

    public void setPage(Integer page) {
        this.page = page;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public String getSort() {
        return sort;
    }

    public void setSort(String sort) {
        this.sort = sort;
    }

    public String getOrder() {
        return order;
    }

    public void setOrder(String order) {
        this.order = order;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Integer getLockedFlag() {
        return lockedFlag;
    }

    public void setLockedFlag(Integer lockedFlag) {
        this.lockedFlag = lockedFlag;
    }

    public Integer getIsDeleted() {
        return isDeleted;
    }

    public void setIsDeleted(Integer isDeleted) {
        this.isDeleted = isDeleted;
    }

    @Override
    public String toString() {
        return "UserListRequestParam{" +
                "page=" + page +
                ", limit=" + limit +
                ", sort='" + sort + '\'' +
                ", order='" + order + '\'' +
                ", userName='" + userName + '\'' +
                ", lockedFlag=" + lockedFlag +
                ", isDeleted=" + isDeleted +
                '}';
    }
}
